from django.urls import path
from doctor.views import HospitalListAPIView, HospitalRetrieveAPIView, DoctorHospitalListAPIView, \
    DoctorRetrieveAPIView, DoctorDepartmentListAPIView, Consultation, query, HospitalAPIView

urlpatterns = [
    path("hospitalList/", HospitalListAPIView.as_view()),
    path("hospitalRetrieve/<int:pk>/", HospitalRetrieveAPIView.as_view()),
    path("doctorHospitalList/", DoctorHospitalListAPIView.as_view()),
    path("doctorDepartmentList/", DoctorDepartmentListAPIView.as_view()),
    path("doctorRetrieve/<int:pk>/", DoctorRetrieveAPIView.as_view()),
    path("consultation/", Consultation.as_view()),
    path("query/", query),
    path("hospital/<int:pk>/", HospitalAPIView.as_view()),
]
